package com.fuluwa.domain.usercenter.model.competence;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.fuluwa.domain.shared.AbstractIdDomainObject;

//if competence level >1.5,then career level = P2,<1.5 it is P1....
@Entity
public class CareerLevelDefine extends AbstractIdDomainObject {
	private String levelName;
	@Column(name = "f_value", columnDefinition = "decimal(13,2)") 
	private float value;

	private CareerLevelDefine() {
	}

	public CareerLevelDefine(String levelName, float value) {
		this.levelName = levelName;
		this.value = value;
	}

	public String getLevelName() {
		return levelName;
	}

	public float getValue() {
		return value;
	}

}